package com.yonyou.pmclouds.assigninfo.rmiimpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.yonyou.pmclouds.ApplicationConsts;
import com.yonyou.pmclouds.assigninfo.entity.AssignInfoVO;
import com.yonyou.pmclouds.assigninfo.mapper.AssignInfoMapper;
import com.yonyou.pmclouds.assigninfo.rmiitf.IAssignInfoQuery;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service(version = ApplicationConsts.APPLICATION_VERSION, interfaceClass = IAssignInfoQuery.class)
public class AssignInfoQueryImpl implements IAssignInfoQuery {

    private final AssignInfoMapper assignInfoMapper;

    @Autowired
    public AssignInfoQueryImpl(AssignInfoMapper assignInfoMapper) {
        this.assignInfoMapper = assignInfoMapper;
    }

    @Override
    public List<AssignInfoVO> queryByPkBills(List<String> pkBills) {
        return assignInfoMapper.queryByPkBills(pkBills);
    }
}
